package com.hspedu.spring.service;

import com.hspedu.spring.dao.MemberDaoImpl;

/**
 * @Author: lihaojie
 * @Description:
 * @DateTime: 2024/2/18 14:04
 **/
public class MemberServiceImpl {

    private MemberDaoImpl memberDao;

    public MemberDaoImpl getMemberDao() {
        return memberDao;
    }

    public void setMemberDao(MemberDaoImpl memberDao) {
        this.memberDao = memberDao;
    }

    public void add() {
        System.out.println("MemberServiceImpl的add方法被调用...");
        memberDao.add();
    }

}
